package com.youlai.system.converter.lichuang126;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.youlai.system.model.entity.lichuang126.PredictedGrade;
import com.youlai.system.model.form.lichuang126.PredictedGradeForm;
import com.youlai.system.model.vo.lichuang126.PredictedGradeVO;
import org.mapstruct.InheritInverseConfiguration;
import org.mapstruct.Mapper;

@Mapper(componentModel = "spring")
public interface PredictedGradeConverter {
    Page<PredictedGradeVO> entityToPage(Page<PredictedGrade> page);

    PredictedGradeForm entityToForm(PredictedGrade predictedGrade);


    @InheritInverseConfiguration(name="entityToForm")
    PredictedGrade formToEntity(PredictedGradeForm predictedGradeForm);
}
